package me.jtx.poplar.user.web.controller;

import java.util.Locale;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import me.jtx.poplar.user.Route;
import me.jtx.poplar.user.web.View;

/**
 * App central controller to render home page
 *
 * @author: Tong Huazhong(jsyzthz@gmail.com)
 * @copyright: &copy; 2016, Tong Huazhong
 */
@Controller
public class AppController extends BaseWebAppController {

	@RequestMapping(value = Route.HOME, method = RequestMethod.GET)
	public String home(Locale locale, Model model) {
		return View.HOME;
	}
}
